package hcn.protocol.ods.diagnosis;

import java.io.Serializable;
import java.util.List;

/**
 * @author tongtp
 * @version v0.1
 * @className StoresInfo
 * @description
 * @create 2019-08-23 16:26
 **/
public class StoresInfo implements Serializable {

    private String storeCode;

    private String operatePlatformStoreId;//运营平台药店id

    private String storeName;
    //类型：1医院药房  2院外药店
    private String storeType;

    private String address;

    private Position position;

    private String distance;//距离,单位KM

    private String phone;

    private String totalPrice;

    //药店的代煎包配置
    private List<Capacity> drugCapacities;
    //代煎费
    private String boilFeeAmount;
    //是否支持代煎
    private Integer decoctingFlag;

    private List<PrescriptionInfo> drugInfo;//处方信息

    public String getStoreCode() {
        return storeCode;
    }

    public void setStoreCode(String storeCode) {
        this.storeCode = storeCode;
    }

    public String getOperatePlatformStoreId() {
        return operatePlatformStoreId;
    }

    public void setOperatePlatformStoreId(String operatePlatformStoreId) {
        this.operatePlatformStoreId = operatePlatformStoreId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getStoreType() {
        return storeType;
    }

    public void setStoreType(String storeType) {
        this.storeType = storeType;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Position getPosition() {
        return position;
    }

    public void setPosition(Position position) {
        this.position = position;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(String totalPrice) {
        this.totalPrice = totalPrice;
    }

    public List<Capacity> getDrugCapacities() {
        return drugCapacities;
    }

    public void setDrugCapacities(List<Capacity> drugCapacities) {
        this.drugCapacities = drugCapacities;
    }

    public String getBoilFeeAmount() {
        return boilFeeAmount;
    }

    public void setBoilFeeAmount(String boilFeeAmount) {
        this.boilFeeAmount = boilFeeAmount;
    }

    public Integer getDecoctingFlag() {
        return decoctingFlag;
    }

    public void setDecoctingFlag(Integer decoctingFlag) {
        this.decoctingFlag = decoctingFlag;
    }

    public List<PrescriptionInfo> getDrugInfo() {
        return drugInfo;
    }

    public void setDrugInfo(List<PrescriptionInfo> drugInfo) {
        this.drugInfo = drugInfo;
    }

    @Override
    public String toString() {
        return "StoresInfo{" +
                "storeCode='" + storeCode + '\'' +
                ", operatePlatformStoreId='" + operatePlatformStoreId + '\'' +
                ", storeName='" + storeName + '\'' +
                ", storeType='" + storeType + '\'' +
                ", address='" + address + '\'' +
                ", position=" + position +
                ", distance='" + distance + '\'' +
                ", phone='" + phone + '\'' +
                ", totalPrice='" + totalPrice + '\'' +
                ", drugCapacities=" + drugCapacities +
                ", boilFeeAmount='" + boilFeeAmount + '\'' +
                ", decoctingFlag=" + decoctingFlag +
                ", drugInfo=" + drugInfo +
                '}';
    }

    public static class PrescriptionInfo {
        private String drugCode;//药店药品编码
        private String drugId;//医院药品id

        public String getDrugCode() {
            return drugCode;
        }

        public void setDrugCode(String drugCode) {
            this.drugCode = drugCode;
        }

        public String getDrugId() {
            return drugId;
        }

        public void setDrugId(String drugId) {
            this.drugId = drugId;
        }
    }
}
